/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 3 พ.ย. 2557, 20:57:03
    Author     : Sorasak Siangsanan
*/

.content {
    margin: 0 auto;
    width: 1000px;
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #fff;
}

.content-box-left {
    margin: 0;
    display: inline-block;
    width: 640px;
    vertical-align: top;
}

.content-box-left p span {
    display: block;
}

.content-box-right {
    display: inline-block;
    width: 350px;
    text-align: right;
    vertical-align: top;
}

div.error {
    color: red;
    margin-bottom: 5px;
}

.content-box-right p.text {
    margin-top: -5px;
    text-align: left; 
    color: #999;
}

.content-box-right input[type=text],
.content-box-right input[type=password]{
    width: 350px;
    padding: 12px;
    font-size: 14px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: 0;
    border: 1px solid #bbb;
    margin-bottom: 10px;
}

.content-box-right input[type=text]:focus,
.content-box-right input[type=password]:focus{
    width: 350px;
    padding: 12px;
    font-size: 14px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: 0;
    border: 1px solid #bbb;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.31);
    -moz-box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.31);
    box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.31);
}

.content-box-right input[type=submit] {
    width: 350px;
    padding: 12px;
    font-size: 14px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: 0;
    border: 1px solid #009900;
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff;
    background-color: #009900;
    cursor: pointer;
}

.content-box-right a {
    color: #0099ff;
}

.product-content {
    margin: 0 auto;
    width: 1000px;
    padding-top: 10px;
}

.product-box-over-1rate {
    display: inline-block;
    width: 986px;
    padding: 5px;
    border: 1px solid #bbb;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.product-box-over-2rate {
    display: inline-block;
    width: 485px;
    padding: 5px;
    border: 1px solid #bbb;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.product-box-over {
    display: inline-block;
    width: 318px;
    padding: 5px;
    border: 1px solid #bbb;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
.product-box {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    outline: 1px solid #bbb;
}

.product-box-title {
    position: absolute;
    margin: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background: url("../images/title-bg.png") repeat;
}

.product-box-title span {
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: underline;
}

.product-box-rate {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: url('../images/reward-50px.png') no-repeat;
}

.product-box-rate1 {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background: url('../images/reward-100px.png') no-repeat;
}

.product-box-rate2 {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: url('../images/reward-50px.png') no-repeat;
}

.product-box-rate1 span,
.product-box-rate2 span,
.product-box-rate span{
    color: #000;
    font-weight: bold;
}

.product-box-rate1 span {
    font-size: 20px;
}

.product-box-rate2 span {
    font-size: 18px;
}

.product-box img {
    width: 100%;
    height: 200px;
    background: #009999;
    margin-bottom: 10px;
}

.product-box img.rate1 {
    width: 100%;
    height: 380px;
    background: #009999;
    margin-bottom: 10px;
}

.product-box img.rate2 {
    width: 100%;
    height: 280px;
    background: #009999;
    margin-bottom: 10px;
}

.product-box span,
.product-box a{
    padding: 5px;
}

.product-box p span {
    font-size: 12px;
    color: #333;
    padding: 5px;
    text-decoration: underline;
}

.product-box-star {
    display: inline-block;
    width: 40%;
    text-align: center;
}

.product-box-star img {
    background: none;
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

.product-box p {
    max-height: 50px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
    color: #666666;
}

.filter-box {
    margin: 0 auto;
    margin-top: 10px;
    width: 1000px;
    border: 1px solid #999;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background: #999;
}

.filter-box form {
    padding: 10px;
    padding-bottom: 0;
}

.filter-box label {
    font-weight: bold;
}

.filter-box select {
    outline: none;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.filter-box input[type=text] {
    width: 350px;
    padding: 12px;
    font-size: 14px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: 0;
    border: 1px solid #bbb;
}

.filter-box input[type=text]:focus {
    width: 350px;
    padding: 12px;
    font-size: 14px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: 0;
    border: 1px solid #bbb;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.31);
    -moz-box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.31);
    box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.31);
}
